﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;

public partial class log : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string dataFromClient = Server.UrlDecode(Request.Form.ToString());
        string flName = MapPath("")+"//log//"+DateTime.Today.Date.ToLongDateString()+".txt";
        StreamWriter sw = new StreamWriter(flName,true,System.Text.Encoding.Default, 1024);
        sw.WriteLine(dataFromClient);
        sw.Close();
        Response.Write("successed");
    }
}